<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--
       The above 3 meta tags *must* come first in the head;
       any other head content must come *after* these tags
    -->

    <meta name="description" content="">

    <title>MD5</title>

    <link type="text/css" rel="stylesheet" href="../static/lr/bootstrap-4.1.0/css/bootstrap.min.css"
          th:href="@{/lr/bootstrap-4.1.0/css/bootstrap.min.css}">

    <link type="text/css" rel="stylesheet" href="../static/lr/css/common.css"
          th:href="@{/lr/css/common.css}">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script type="text/javascript" src="../static/lr/jquery/jquery-1.11.2.min.js"
            th:src="@{/lr/jquery/jquery-1.11.2.min.js}"></script>
    <script type="text/javascript" src="../static/lr/bootstrap-4.1.0/js/bootstrap.min.js"
            th:src="@{/lr/bootstrap-4.1.0/js/bootstrap.min.js}"></script>
</head>

<body>

<div class="container">

    <form method="POST" action="/lr/MD5Transfer" class="form-signin">
        <h2>获取Sign MD5</h2>

        <div class="form-group">
            <label class="label label-default">本地测试路径：</label>
            <div class="input-group">
                <input name="localUrl" type="text" class="form-control" placeholder="请输入 本地测试地址 直接进行测试"
                        th:value="${session.localUrl}"/>
            </div>
            <label class="label label-default">userCode：</label>
            <div class="input-group">
                <input name="userCode" type="text" class="form-control" placeholder="请输入  userCode"
                       required="required" th:value="${session.userCode}"/>
            </div>
            <label class="label label-default">timestamp：</label>
            <div class="input-group">
                <input name="timestamp" type="text" th:value="${currentTimeMillis}" class="form-control"
                       placeholder="请输入 当前时间戳" required="required" />
            </div>
            <label>publicKeyCode：</label>
            <div class="input-group">
                <input name="publicKeyCode" type="text" class="form-control" placeholder="请输入 publicKeyCode" th:value="${session.publicKeyCode}"/>
            </div>
            <label>jsonContent：</label>
            <div class="input-group">
                <textarea name="jsonContent"
                          class="form-control md5-textarea"
                          placeholder="请输入 http JSON数据" th:text="${session.jsonContent}"></textarea>
            </div>

            <div class="input-group">
                <button class="btn btn-md btn-primary btn-block" type="submit" style="max-width: 50%;margin-left: 40%">
                    开始转换
                </button>
            </div>

        </div>

    </form>

</div>
<!-- /container -->
</body>
</html>
